/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Home-pc
 * Date: 2023-09-22
 * Time: 21:00
 */
public class Demo13 {
    public static void main(String[] args) throws InterruptedException {
        Object object=new Object();
        synchronized (object){
            object.wait();
        }
        System.out.println("wait 结束");
    }
}
